package com.littleHan.brushQuestions;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
//扫描dao包
@MapperScan(basePackages={"com.littleHan.brushQuestions.web.start.dao","com.littleHan.brushQuestions.web.userCenter.dao",
"com.littleHan.brushQuestions.web.uploadTopic.dao","com.littleHan.brushQuestions.web.frontPage.dao",
"com.littleHan.brushQuestions.web.specificTopic.dao","com.littleHan.brushQuestions.web.searchTopic.dao"})
//定时任务开启
@EnableScheduling
public class BrushQuestionsApplication {

    public static void main(String[] args) {
        SpringApplication.run(BrushQuestionsApplication.class, args);
    }

}
